161dfbf3ed0f91c9d0d4e6054c312449f3031b5d,power-adapters/src/test/java/com/nextfaze/poweradapters/FakeAdapter.java,FakeAdapter,remove,#number#number#,66

Before Change


            throw new IndexOutOfBoundsException();
        }
        mItemCount -= itemCount;
        notifyItemRangeRemoved(positionStart, itemCount);
    }

    public void change(int positionStart, int itemCount) {

After Change


            throw new IndexOutOfBoundsException();
        }
        mItemCount -= itemCount;
        if (mNotificationType == NotificationType.COARSE) {
            notifyDataSetChanged();
        } else {
            notifyItemRangeRemoved(positionStart, itemCount);
        }
    }